package com.cxso.example.domain.sign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(description = "pdf模板添加组件-组件信息-入参")
public class ContextDomain {

    @Schema(description = "组件名称", example = "输入项组件显示名称,测试单行文本")
    private String label;

    @Schema(description = "是否必填", example = "是否必填，默认true")
    private String required;

    @Schema(description = "组件宽度", example = "输入项组件宽度,10.00")
    private String width;

    @Schema(description = "组件高度", example = "输入项组件高度,10.00")
    private String height;

    @Schema(description = "字体类型", example = "1.\"宋体 \", 2.\"新宋体\",4.\"黑体\",5.\"楷体\",6.\"微软雅黑\",7.\"仿宋\",8.\"华文中宋\",9.\"等线\";")
    private String font;

    @Schema(description = "填充字体大小", example = "填充字体大小,默认12")
    private String fontSize;

    @Schema(description = "字体颜色", example = "默认黑色；1，\"黑色\",2,\"红色\",3,\"青色\", 4, \"深灰色\", 5,\"灰色\", 6,\"绿色\",7,\"浅灰色\",8,\"洋红\", 9,\"橙色\",10,\"粉红色\",11,\"黄色\", 12,\"蓝色\"")
    private String textColor;

    @Schema(description = "第三方自定义ID", example = "非必填，第三方自定义ID ,长度：0-18位， 可为空 ,12233XXXXX00000")
    private String thirdPartyCustomId;

    @Schema(description = "页码", example = "页码,1")
    private Integer page;

    @Schema(description = "x轴", example = " x轴坐标，左下角为原点,1")
    private Integer x;

    @Schema(description = "y轴", example = "y轴坐标，左下角为原点,1")
    private Integer y;

    @Schema(description = "签署位置", example = "签署位置名称，type为6时必传参数,1")
    private String positionName;

    @Schema(description = "动态表格", example = "简单动态表格中执行表头及列宽\n")
    private String ext;

}
